def login():
    ''''''
    user_name = input('输入用户名')
    password = input('输入密码')
    if user_name == 'admin' and password == '123456':
        code = input('输入验证码')
        if code == 8888:
            return'登录成功'
        else:
            return '验证码错误'
    else:
        return '账号或密码错误'
if __name__ == '__main__':
    print(login())
